extern crate serde;
extern crate serde_json;

use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
pub struct SingleAnswer{
    pub id :i32,
    pub score: i32,
    pub correct: String,
    pub info_text_content_id: i32,
    pub content: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct SingleAnswerData{
    pub data:Option<SingleAnswer>,
    pub error_code:i32,
    pub error_msg:String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct SingleAnswerListData{
    pub data:Option<Vec<SingleAnswer>>,
    pub error_code:i32,
    pub error_msg:String,
}


